//
//  CTFollowCell.h
//  ConstellationTalk_0.1
//
//  Created by riley on 15/5/23.
//  Copyright (c) 2015年 riley chu. All rights reserved.
//

#import <UIKit/UIKit.h>

@protocol CTFollowCellDelegate;
@class CTFollowList,CTListDetailUser,CTComment;
@interface CTFollowCell : UITableViewCell

@property (nonatomic, setter=setCellItem:)CTFollowList *item;
@property (nonatomic, strong)     CTListDetailUser *listDetaiItme;

@property (nonatomic, assign)id<CTFollowCellDelegate>delegate;

@end

@protocol CTFollowCellDelegate  <NSObject>
/**
 *@brief 点击评论总数
 */
- (void)userPublishTableCellCommentCountAction:(CTFollowCell *)cell withItem:(CTComment *)item;
/**
 *@brief 点击评论第一条
 */
- (void)userPublishTableCellCommentHitFirstLabelAction:(CTFollowCell *) cell withItem:(CTComment *)item;
/**
 *@brief 点击评论第二条
 */
- (void)userPublishTableCellCommentHitSecondLabelAction:(CTFollowCell *) cell withItem:(CTComment *)item;
/**
 *@brief 点击评论第一条头像
 */
- (void)userPublishTableCellCommentHitFirstHeadAction:(CTFollowCell *)cell withItem:(CTComment *) item;
/**
 *@brief 点击评论第二条头像
 */
- (void)userPublishTableCellCommentHitSecondHeadAction:(CTFollowCell *)cell withItem:(CTComment *)item;
/**
 *@brief 点击头像
 */
- (void)userPublishTableCellHitHeadAction:(CTFollowCell *)cell withItem:(CTFollowList *)item;
/**
 *@brief 点击大图
 */
- (void)userPublishTableCellHitPicImageBtnAction:(CTFollowCell *)cell withItem:(CTFollowList *)item;
/**
 *@brief 点赞
 */
- (void)userPublishTableCellHitFavourBtnAction:(CTFollowCell *)cell withItem:(CTFollowList *)item withBool:(BOOL) favBool;
/**
 *@brief 点击评论按钮
 */
- (void)userPublishTableCellHitCommentBtnaction:(CTFollowCell *) cell withItem:(CTFollowList *)item;
/**
 *@brief 点击分享按钮
 */
- (void)userPublishTableCellHitShareBtnAction:(CTFollowCell *) cell withItem:(CTFollowList *)item;
/**
 *@brief 点击更多按钮
 */
- (void)userPublishTableCellHitMoreBtnAction:(CTFollowCell *) cell withItem:(CTFollowList *)item;
/**
 *@brief 点击点赞的人的头像
 */
- (void)userPublishTableCellHitFavBtnHeadAction:(CTFollowCell *)cell withItem:(CTListDetailUser *)item;
/**
 *@brief 点击关注按钮
 */
- (void)userPublishTableCellHitAttentionBtnAction:(CTFollowCell *) cell withItem:(CTFollowList *)item withBool:(BOOL)attentionBool;
/**
 *@brief 点击话题
 */
- (void)userPublishTableCellHitTopicBtnAction:(CTFollowCell *) cell withItem:(CTFollowList *)item;
@end






@protocol CTFllowTabCellDelegate;
@interface CTFllowTabCell : UITableViewCell
@property (nonatomic, strong) CTFollowList *item;
@property (nonatomic,setter=setSexStr:) NSString * sexStr;
@property (nonatomic,setter=setName:)NSString * name;
@property (nonatomic,setter=setHeadImgUrl:)NSString * imgUrl;
@property (nonatomic, assign)id<CTFllowTabCellDelegate>delegate;

@end

@protocol CTFllowTabCellDelegate <NSObject>

- (void)followTableCellHitAttentionBtnAction:(CTFllowTabCell *) cell withItme:(CTFollowList *)item;

@end





@class CTListDetailUser;


@protocol FavourFollowHeadBtnDelegate;

@interface FavourFollowHeadBtn: UIButton

@property(nonatomic,assign)id<FavourFollowHeadBtnDelegate>delegate;
@property(nonatomic,setter=setListDetailUserItem:)CTListDetailUser * userItem;

-(FavourFollowHeadBtn *)creatBtn:(FavourFollowHeadBtn *)btn;

@end

@protocol FavourFollowHeadBtnDelegate <NSObject>

-(void)favourHeadBtnClickedAction:(FavourFollowHeadBtn *)btn
                     withUserItem:(CTListDetailUser *)itm;

@end

